import { axios } from '@/utils/request'

export function orderPage(params) {
  return axios({
    url: '/businessOrder/page',
    method: 'get',
    params: params
  })
}

export function addOrderFile(body) {
  return axios({
    url: '/businessOrder/add',
    method: 'post',
    data: body
  })
}


export function parseForView(id) {
  return axios({
    url: '/businessOrder/parse/view/' + id,
    method: 'get'
  })
}


export function uploadStoreOrder(body) {
  return axios({
    url: '/biStoreOrder/upload',
    method: 'post',
    data: body
  })
}


/**
 * 查询指标数据
 *
 * @author cy
 * @date 2022-07-28 19:22:40
 */
 export function biStoreOrderPage (parameter) {
  return axios({
    url: '/biStoreOrder/page',
    method: 'get',
    params: parameter
  })
}